<template lang="">
  <div>
      <ul>
          <li v-for="i in data">
              {{i.title}}
          </li>
      </ul>
  </div>
</template>

<script>
export default {
    data(){
        return{
            id:this.$route.query.id,
            data:[],
            page:1,
            page_size:4,
            total:0
        }
    },
    methods:{
        add(){
            this.axios.get('gameM?page'+this.page+'&page_size='+this.page_size).then(res=>{
                this.data = res.data.list
                this.total = res.data.total
            })
        }
    },
    mounted(){
        this.add()
    }
}
</script>

<style>

</style>